#include "Editor/MainWindow.h"

int main(int argc, char **argv)
{
    QApplication application(argc, argv);
    application.setOrganizationName("Nuclear Industry");
    application.setApplicationName("Model Editor");

    if (!QGLFormat::hasOpenGL())
    {
	    QMessageBox::information(0, "Model Editor", "This system does not support OpenGL.");
        return -1;
    }

    MainWindow mainWindow;
    mainWindow.showMaximized();

    return application.exec();
}
